home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
016a
/
gofer221.zip
/
COMMAND.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-11-20
|
993b
|
41 lines
/* --------------------------------------------------------------------------
* command.h: Copyright (c) Mark P Jones 1991. All rights reserved.
* See goferite.h for details and conditions of use etc...
* Gofer version 2.21 November 1991
*
* Last updated 08/11/91 mpj
*
* Interpreter command structure
* ------------------------------------------------------------------------*/
typedef Int Command;
struct cmd {
String cmdString;
Command cmdCode;
};
extern struct cmd commands[];
extern Char cmdFirstChar;
#define EDIT 0
#define FIND 1
#define LOAD 2
#define ALSO 3
#define PROJECT 4
#define RELOAD 5
#define EVAL 6
#define TYPEOF 7
#define HELP 8
#define NAMES 9
#define BADCMD 10
#define SET 11
#define QUIT 12
#define SYSTEM 13
#define CHGDIR 14
#define NOCMD 15
extern Command readCommand Args((Void));
/*-------------------------------------------------------------------------*/